import request from "@/utils/request";

// 政策影响分析-政策列表
export const getRealEstateAnalyzePolicyImpact = (params: any) => {
    return request({
        url: "/screen/realEstate/analyzePolicyImpact",
        method: "post",
        data: params,
    });
};

// 政策影响分析-政策影响预测
export const getRealEstateForecastPolicySales = (params: any) => {
    return request({
        url: "/screen/realEstate/forecastPolicySales",
        method: "post",
        data: params,
    });
};

// 政策影响分析-房地产项目销售/价格预测
export const getRealEstateAnalyzeImpactForecast = (params: any) => {
    return request({
        url: "/screen/realEstate/analyzeImpactForecast",
        method: "post",
        data: params,
    });
};

// 房地产项目销售走势预测
export const getRealEstateForecastSalesTrend = (params: any) => {
    return request({
        url: "/screen/realEstate/forecastSalesTrend",
        method: "post",
        data: params,
    });
};

// 开发商推荐下拉选
export const getRealEstateDeveloperList = (params: any) => {
    return request({
        url: "/screen/realEstate/developerList",
        method: "post",
        data: params,
    });
};

// 项目推荐-导入按钮-快捷推荐
export const getRealEstateFindProducts = (params: any) => {
    return request({
        url: "/screen/realEstate/findProducts",
        method: "post",
        data: params,
    });
};

// 项目推荐-导入按钮-远程搜索
export const getRealEstateSelDeveloperCreditRating = (params: any) => {
    return request({
        url: "/screen/realEstate/selDeveloperCreditRating",
        method: "post",
        data: params,
    });
};

// 项目推荐-推荐列表
export const getRealEstateRecommendProjects = (params: any) => {
    return request({
        url: "/screen/realEstate/recommendProjects",
        method: "post",
        data: params,
    });
};

// 获取学区下拉
export const getSchoolList = (params: any) => {
    return request({
        url: "/screen/gisProject/getSchoolList",
        method: "get",
        params: params,
    });
};

// 获取交通线路信息(地铁公交下拉)
export const getTraffic = (params: any) => {
    return request({
        url: "/screen/gisProject/getTraffic",
        method: "get",
        params: params,
    });
};

// 区位条件下拉
export const getLocational = (params: any) => {
    return request({
        url: "/screen/gisProject/getLocational",
        method: "get",
        params: params,
    });
};

// 更多搜索条件
export const moreInfo = (params: any) => {
    return request({
        url: "/screen/gisProject/moreInfo",
        method: "get",
        params: params,
    });
};

// 新-项目推荐列表
export const selectGisProjectList = (params: any) => {
    return request({
        url: "/screen/gisProject/selectGisProjectList",
        method: "post",
        data: params,
    });
};